﻿using System;
using System.Windows.Forms;
using VerbrauchProcessor.source.GUI;

// Configure log4net using the .config file
[assembly: log4net.Config.XmlConfigurator(ConfigFileExtension="log4net", Watch = true)]
// This will cause log4net to look for a configuration file
// called VerbrauchProcessor.exe.log4net in the application base
// directory (i.e. the directory containing VerbrauchProcessor.exe)

namespace VerbrauchProcessor
{
	class Program
	{
		// Create a logger for use in this class
		private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);

		[STAThread]
		static void Main(string[] args)
		{

			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			Application.Run(new MainWindow());
		}
	}
}
